]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Ensure dash is raised over workspaces
authorColin Walters <walters@verbum.org>
Wed, 12 Aug 2009 19:09:56 +0000 (15:09 -0400)
committerColin Walters <walters@verbum.org>
Wed, 12 Aug 2009 19:12:55 +0000 (15:12 -0400)
Having the workspace actor on top of the dash broke drag and drop.

js/ui/overview.js

index c2ce608071f22c40d55e8a4a925e700b47910c21..9d42ed159d6f6e98027a9d1dc5af17d5be954263 100644 (file)
@@ -275,6 +275,11 @@ Overview.prototype = {
                                                      addButtonSize, addButtonX, addButtonY);
         this._group.add_actor(this._workspaces.actor);
 
+        // The workspaces actor is as big as the screen, so we have to raise the dash above it
+        // for drag and drop to work.  In the future we should fix the workspaces to not
+        // be as big as the screen.
+        this._dash.actor.raise(this._workspaces.actor);
+
         // All the the actors in the window group are completely obscured,
         // hiding the group holding them while the Overview is displayed greatly
         // increases performance of the Overview especially when there are many